package de.justphil.tcg.tcgserver.commons.domain.wrappers;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import de.justphil.tcg.tcgserver.commons.domain.Card;

@XmlRootElement
@XmlAccessorType(XmlAccessType.NONE)
public class FreebieCard {
	
	@XmlElement
	private int quantity;
	
	@XmlElement
	private Card card;
	
	public FreebieCard() {
		// JAXB conformity
	}

	public FreebieCard(int quantity, Card card) {
		super();
		this.quantity = quantity;
		this.card = card;
	}

	public int getQuantity() {
		return quantity;
	}
	
	

	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

	public Card getCard() {
		return card;
	}
	
	

}
